package com.aloda.ojquestion;

import com.aloda.api.config.DefaultFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(defaultConfiguration = DefaultFeignConfig.class, basePackages = "com.aloda.api.client")
@MapperScan("com.aloda.ojquestion.mapper")
@SpringBootApplication(scanBasePackages = {"com.aloda.ojquestion", "com.aloda.ojcommon"})
public class OjQuestionApplication {

    public static void main(String[] args) {
        SpringApplication.run(OjQuestionApplication.class, args);
    }

}
